//
//  CountdownView.h
//  Time
//
//  Created by bangyibang on 14-5-16.
//  Copyright (c) 2014年 bangyibang. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    HourAndMinsAndSecsType = 0,
    MinsAndSecsType = 1
} TimeType;

@interface CountdownView : UIView
{
    NSTimer *_time;
}
@property (strong, nonatomic) UILabel *hourLabel;
@property (strong, nonatomic) UILabel *minsLabel;
@property (strong, nonatomic) UILabel *secsLabel;
@property (assign, nonatomic) TimeType timeType;
@property (strong, nonatomic) UIColor *backColor;
@property (strong, nonatomic) UIColor *textColor;
@property (strong, nonatomic) UIColor *pointColor;


- (void)countdownViewSetStartTime:(NSString *)timeString;
- (void)stopTimer;
- (void)startTimer;

@end
